package io.renren.modules.weldingmachine.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class AnalysisInfoResponse {
	private Integer total;
	private List<AnalysisInfo> rows;
	private Integer code;
	private String msg;

	// getters and setters
	@Data
	@Accessors(chain = true)
	public static class AnalysisInfo {
		private String gwsn;
		private String time;
		private Integer actNum;
		private Integer actEffeNum;
//		@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
//		@JsonDeserialize(using = CustomDateDeserializer.class)
		private String avePa;
		private String avePv;
		private String actHour;
		private Integer theoNum;
		private Integer theoEffeNum;
		private String theoHour;
		private String pauseRate;

		// getters and setters
	}
}
